import {ref} from "vue";

export interface IHistoryFacade {
    type: string
    title: string
    uid: string
}

export function useHistoryList() {
    const historyList = ref<IHistoryFacade[]>([])
    for (let i = 0; i < 20; i++) {
        historyList.value.push({
            type: '博客',
            title: '关于element-plus的使用',
            uid: i.toString()
        })
    }
    return {
        historyList
    }
}